package animal;

public class VisitorChild extends Visitor {
    public VisitorChild(String childName){
        super.setVisitorName(childName);
    }
    //小孩年龄
    private int childAge;
    //小孩所属大人
    private String childAdult;

    public int getChildAge() {
        return childAge;
    }
    public void setChildAge(int childAge) {
        this.childAge = childAge;
    }
    public String getChildAdult() {
        return childAdult;
    }
    public void setChildAdult(String childAdult) {
        this.childAdult = childAdult;
    }
}
